package com.fzb.forum4j.dao.api;

import java.util.List;
import java.util.Map;

import com.fzb.forum4j.po.QueryMode;
import com.fzb.forum4j.po.User;

public interface IUserDao extends IBaseDao<User> {

	void login(QueryMode<User> t);

	Boolean existsUserNameAndEmail(User user);

	User loadUserByUserName(String userName);
	
	User getSimpleDataByUserName(String userName);

	User getUserNameByNickName(String nickName);

	void getMessageByUserId(QueryMode<User> qmd);

	List<Map<String, String>> getHotUser();
}
